package s_jdbc;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
	ApplicationContext ac=new  ClassPathXmlApplicationContext("s_jdbc/bean.xml");
	@Test
	public void testApp() throws Exception{
		UserDao userDao=(UserDao) ac.getBean("userDao");
		userDao.save();
	
		
	}
}
